package com.liu.proxy_studey.dynamicProxy_cglib;

/**
 * 学生类
 */
public class Student {

    private String name;
    private Integer age;
    public Student() {
    }

    public Student(Object aaa) {
        System.out.println(aaa.toString());
    }

    public Student(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public Student(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    void study(){
        System.out.println(this.age + "---"+ this.name + "学习");
    }
}
